from django.db import models

from dvadmin.constant import LEN_X_LONG
from dvadmin.utils.models import CoreModel

TABLE_PRIFIX = "dashboard_"


class Dashboard(CoreModel):
    radar_data = models.CharField('雷达数据', max_length=LEN_X_LONG)

    class Meta:
        db_table = TABLE_PRIFIX + "dashboard"
        verbose_name = '仪表盘'
        verbose_name_plural = '仪表盘'
